 const TabberReducer = (prevState = {
    show: true,
    cityName: '北京'
}, action) => {

    let newState = { ...prevState }

    switch (action.type) {
        case 'hide-tabber':
            newState.show = false
            return newState;
        case 'show-tabber':
            newState.show = true
            return newState;
        default:
            return prevState
    }

}
export default TabberReducer